<template>
  <div style="text-align:center;margin-top:100px">
   <el-link  type="danger">恭喜！资料审核通过！快去经营吧~！</el-link>
    <el-button type="success" @click="btn">进入工作台</el-button>
  </div>
</template>

<script>
import { getDor } from "@/api/admin";
import { changeStatus } from "@/api/admin";
import { mapState } from "vuex";
import Axios from "axios";
export default {
  computed: {
    ...mapState("user", ["_id"])
  },
  methods: {
     btn() {
      changeStatus({_id:this._id},{status:1}).then(res=>{
         if (res.data.ok) {
           this.$router.replace("/home")
         }
      })
    }
  }
};
</script>

<style>
.wait {

  font-weight: bold;
  font-size: 26px;
  padding: 80px 0;
}
</style>